<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
	<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/kindeditor-min.js"></script>
<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/lang/zh_CN.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
        editor = K.create('#content', {
		uploadJson : '<?php echo $this->url ($this->baseUrl, "article", "upload", "", "admin");?>',
		fileManagerJson : '<?php echo $this->url ($this->baseUrl, "article", "filemanage", "", "admin");?>',
		allowFileManager : true,
		urlType : "domain"
        });
});
</script>
<body>
<form id="form1" name="form1" method="post" enctype="multipart/form-data" action="<?php echo $this->url ($this->baseUrl, "meeting", "doedit", "", "admin");?>">
<input type="hidden" name="mid" value="<?php echo $this->content['mid'];?>" >
<input type="hidden" name="ctype" value="<?php echo $this->type;?>" >
<input type="hidden" name="nowp" value="<?php echo $this->nowp;?>" >

  <table width="100%" border="1" class="tableA" >
    <tr>
      <td colspan="3" align="center">编辑</td>
    </tr>
<tr>
      <td width="14%">分类</td>
      <td width="26%"><select name="type">
        <?php foreach ($this->list as $v){
        	$selected = '';
        	if ($v['id'] == $this->content['type'])
        		$selected = 'selected="true" ';
        	echo '<option ' . $selected . 'value="' . htmlspecialchars(addslashes($v['id'])) . '">' .  htmlspecialchars(addslashes($v['name'])) . '</option>';
        }?>
      </select></td>
      <td width="60%">&nbsp;</td>
    </tr>
    <tr>
      <td width="14%">名称</td>
      <td width="26%"><input name="subject" type="text" id="subject" size="30" value="<?php echo $this->content['subject'];?>"/></td>
      <td width="60%">&nbsp;</td>
    </tr>
    <tr <?php if ($this->type == 'center4' || $this->type == 'center5' || $this->type == 'center6'){?> style="display:none"<?php }?>>
      <td>地址</td>
      <td>
      <input name="address" type="text" id="address" size="30" value="<?php echo $this->content['address'];?>"/></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>排序</td>
      <td><input name="seq" type="text" id="seq" size="10" value="<?php echo $this->content['seq'];?>"/></td>
      <td>从大到小排序</td>
    </tr>
    <tr <?php if ($this->type == 'center4' || $this->type == 'center5' || $this->type == 'center6'){?> style="display:none"<?php }?>>
      <td>举办时间</td>
      <td colspan="2"><input name="pubtime" type="text" id="pubtime" size="30" value="<?php echo $this->content['pubtime'];?>"/></td>
    </tr>
<tr>
      <td>内容</td>
      <td colspan="2"><textarea name="content" id="content" cols="80" rows="20" style="width:700px;height:400px;"><?php echo htmlspecialchars($this->content['content']);?></textarea></td>
    </tr>
    <tr>
      <td colspan="3" align="center"><input type="submit" name="button" id="button" value="提交" class="btn_submit"/>
      <input class="btn_submit" type="button" name="button" id="button" onclick="javascript:history.back(-1);" value="返回" /></td>
    </tr>
  </table>
</form>
</body>
</html>